package com.pengweiwei.androidzygote.video.data;

import com.putong35.common.app.data.UrlConfig;

import java.util.HashMap;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface VideoApi {

    String URL_VIDEO_FOOTER = UrlConfig.URL_PREFIX + "/app/footer";

    String URL_VIDEO_LIST = UrlConfig.URL_PREFIX + "/app/video/list";

    @POST("app/user/feedback")
    Call<String> feedback(@Body HashMap bodyMap);

    /**
     * 精选页面新片榜/观影榜，短视频页面推荐/精选
     *
     * @param type  [2：精选; 3：短视频]
     * @return
     */
    @GET("app/footer")
    Call<String> footer(@Query("type") String type);
}
